package cn.itsource.thread.method.join;

public class JoinTest {

	public static void main(String[] args) {
		//先创建下载线程对象
		DownThread downThread = new DownThread();
		
		//再创建显示线程对象，经下载线程传入构造方法
		ShowThread showThread = new ShowThread(downThread);
		
		//启动线程
		downThread.start();
		showThread.start();
	}

}
